From 4b6e70b9c8dab0d42620ecfc51911ae81a327c91 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 24 Nov 2016 15:26:15 +0100 Subject: [PATCH] gdk: Get rid of all mentions of process_all_updates() --- gdk/gdkwindow.c | 15 ++++++--------- gdk/gdkwindow.h | 3 --- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 83002b7243..7f133ffd22 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3745,9 +3745,8 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow *window, * application would normally redraw the contents of @window in * response to those expose events. * - * GDK will call gdk_window_process_all_updates() on your behalf - * whenever your program returns to the main loop and becomes idle, so - * normally there’s no need to do that manually, you just need to + * GDK will process all updates whenever the frame clock schedules a redraw, + * so there’s no need to do forces redraws manually, you just need to * invalidate regions that you know should be redrawn. * * The @child_func parameter controls whether the region of @@ -3796,9 +3795,8 @@ gdk_window_invalidate_region_full (GdkWindow *window, * application would normally redraw the contents of @window in * response to those expose events. * - * GDK will call gdk_window_process_all_updates() on your behalf - * whenever your program returns to the main loop and becomes idle, so - * normally there’s no need to do that manually, you just need to + * GDK will process all updates whenever the frame clock schedules a redraw, + * so there’s no need to do forces redraws manually, you just need to * invalidate regions that you know should be redrawn. * * The @invalidate_children parameter controls whether the region of @@ -3830,9 +3828,8 @@ gdk_window_invalidate_region (GdkWindow *window, * application would normally redraw the contents of @window in * response to those expose events. * - * GDK will call gdk_window_process_all_updates() on your behalf - * whenever your program returns to the main loop and becomes idle, so - * normally there’s no need to do that manually, you just need to + * GDK will process all updates whenever the frame clock schedules a redraw, + * so there’s no need to do forces redraws manually, you just need to * invalidate regions that you know should be redrawn. * * This version of invalidation is used when you recieve expose events diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 392933f7e8..5a0601c9f5 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -900,9 +900,6 @@ void gdk_window_freeze_updates (GdkWindow *window); GDK_AVAILABLE_IN_ALL void gdk_window_thaw_updates (GdkWindow *window); -GDK_AVAILABLE_IN_ALL -void gdk_window_process_all_updates (void); - GDK_AVAILABLE_IN_ALL void gdk_window_constrain_size (GdkGeometry *geometry, GdkWindowHints flags, -- 2.30.2